package com.itany.constant;

/**
 * 反应常数
 *
 * @author Tom
 * @date 2021/06/27
 */
public interface ResponseConstant {
    /**
     * 业务逻辑状态码:成功
     */
    public static final Integer RESPONSE_CODE_SUCCESS = 2001;

    /**
     * 业务逻辑状态码:失败
     */
    public static final Integer RESPONSE_CODE_FAIL = 2002;

    /**
     * 业务逻辑状态码:请求参数有误
     */
    public static final Integer RESPONSE_CODE_REQUEST_PARAMETER_ERROR = 2003;

    /**
     * 业务逻辑状态码:登录失效
     */
    public static final Integer RESPONSE_CODE_LOGIN_DISABLED = 2004;

    /**
     * 业务逻辑状态码:没有权限
     */
    public static final Integer RESPONSE_CODE_NO_PROMISSION = 2005;

    /**
     * 响应代码用户禁用
     */
    public static final Integer RESPONSE_CODE_USER_DISABLED = 2005;

    /**
     * 响应代码用户启用
     */
    public static final Integer RESPONSE_CODE_USER_ENABLED = 2006;

}
